3.3.15 \(\int \log (c (d+e x^n)^p) \, dx\) [215]

Optimal. Leaf size=54 \[ -\frac {e n p x^{1+n} \, _2F_1\left (1,1+\frac {1}{n};2+\frac {1}{n};-\frac {e x^n}{d}\right )}{d (1+n)}+x \log \left (c \left (d+e x^n\right )^p\right ) \]

[Out]

-e*n*p*x^(1+n)*hypergeom([1, 1+1/n],[2+1/n],-e*x^n/d)/d/(1+n)+x*ln(c*(d+e*x^n)^p)

________________________________________________________________________________________

Rubi [A]
time = 0.01, antiderivative size = 54, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 2, integrand size = 12, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.167, Rules used = {2498, 371} \begin {gather*} x \log \left (c \left (d+e x^n\right )^p\right )-\frac {e n p x^{n+1} \, _2F_1\left (1,1+\frac {1}{n};2+\frac {1}{n};-\frac {e x^n}{d}\right )}{d (n+1)} \end {gather*}

Antiderivative was successfully verified.

[In]

Int[Log[c*(d + e*x^n)^p],x]

[Out]

-((e*n*p*x^(1 + n)*Hypergeometric2F1[1, 1 + n^(-1), 2 + n^(-1), -((e*x^n)/d)])/(d*(1 + n))) + x*Log[c*(d + e*x
^n)^p]

Rule 371

Int[((c_.)*(x_))^(m_.)*((a_) + (b_.)*(x_)^(n_))^(p_), x_Symbol] :> Simp[a^p*((c*x)^(m + 1)/(c*(m + 1)))*Hyperg
eometric2F1[-p, (m + 1)/n, (m + 1)/n + 1, (-b)*(x^n/a)], x] /; FreeQ[{a, b, c, m, n, p}, x] &&  !IGtQ[p, 0] &&
 (ILtQ[p, 0] || GtQ[a, 0])

Rule 2498

Int[Log[(c_.)*((d_) + (e_.)*(x_)^(n_))^(p_.)], x_Symbol] :> Simp[x*Log[c*(d + e*x^n)^p], x] - Dist[e*n*p, Int[
x^n/(d + e*x^n), x], x] /; FreeQ[{c, d, e, n, p}, x]

Rubi steps

\begin {align*} \int \log \left (c \left (d+e x^n\right )^p\right ) \, dx &=x \log \left (c \left (d+e x^n\right )^p\right )-(e n p) \int \frac {x^n}{d+e x^n} \, dx\\ &=-\frac {e n p x^{1+n} \, _2F_1\left (1,1+\frac {1}{n};2+\frac {1}{n};-\frac {e x^n}{d}\right )}{d (1+n)}+x \log \left (c \left (d+e x^n\right )^p\right )\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]
time = 0.02, size = 52, normalized size = 0.96 \begin {gather*} x \left (-\frac {e n p x^n \, _2F_1\left (1,1+\frac {1}{n};2+\frac {1}{n};-\frac {e x^n}{d}\right )}{d (1+n)}+\log \left (c \left (d+e x^n\right )^p\right )\right ) \end {gather*}

Antiderivative was successfully verified.

[In]

Integrate[Log[c*(d + e*x^n)^p],x]

[Out]

x*(-((e*n*p*x^n*Hypergeometric2F1[1, 1 + n^(-1), 2 + n^(-1), -((e*x^n)/d)])/(d*(1 + n))) + Log[c*(d + e*x^n)^p
])

________________________________________________________________________________________

Maple [F]
time = 0.05, size = 0, normalized size = 0.00 \[\int \ln \left (c \left (d +e \,x^{n}\right )^{p}\right )\, dx\]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(ln(c*(d+e*x^n)^p),x)

[Out]

int(ln(c*(d+e*x^n)^p),x)

________________________________________________________________________________________

Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(log(c*(d+e*x^n)^p),x, algorithm="maxima")

[Out]

d*n*p*integrate(1/(d + e^(n*log(x) + 1)), x) - (n*p - log(c))*x + x*log((d + e^(n*log(x) + 1))^p)

________________________________________________________________________________________

Fricas [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(log(c*(d+e*x^n)^p),x, algorithm="fricas")

[Out]

integral(log((x^n*e + d)^p*c), x)

________________________________________________________________________________________

Sympy [C] Result contains complex when optimal does not.
time = 1.93, size = 48, normalized size = 0.89 \begin {gather*} x \log {\left (c \left (d + e x^{n}\right )^{p} \right )} + \frac {p x \Phi \left (\frac {d x^{- n} e^{i \pi }}{e}, 1, \frac {e^{i \pi }}{n}\right ) \Gamma \left (\frac {1}{n}\right )}{n \Gamma \left (1 + \frac {1}{n}\right )} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(ln(c*(d+e*x**n)**p),x)

[Out]

x*log(c*(d + e*x**n)**p) + p*x*lerchphi(d*exp_polar(I*pi)/(e*x**n), 1, exp_polar(I*pi)/n)*gamma(1/n)/(n*gamma(
1 + 1/n))

________________________________________________________________________________________

Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(log(c*(d+e*x^n)^p),x, algorithm="giac")

[Out]

integrate(log((x^n*e + d)^p*c), x)

________________________________________________________________________________________

Mupad [F]
time = 0.00, size = -1, normalized size = -0.02 \begin {gather*} \int \ln \left (c\,{\left (d+e\,x^n\right )}^p\right ) \,d x \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(log(c*(d + e*x^n)^p),x)

[Out]

int(log(c*(d + e*x^n)^p), x)

________________________________________________________________________________________